package com.woniu.custom.pojo;

import javax.websocket.Session;
import java.util.Date;

public class SessionWrap {
    private String from;//会话发起者id
    private String to;//会话接收者id
    private Session session;
    private Date lastTime;//最近使用时间

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }
}
